package player_single

import "time"

const PlayerSingleName = "player_single"

type PlayerSingle struct {
	Key            string `json:"key" orm:"primary" sql:"VARCHAR"`
	LeaderboardKey string `json:"leaderboard_key" sql:"VARCHAR"`
	Name           string `json:"name" sql:"VARCHAR"`
	BaseTime       int    `json:"base_time" sql:"INT"`
	BestScore      int    `json:"best_score" sql:"INT"`
	BestTime       int    `json:"best_time" sql:"INT"`

	CreateTime *time.Time `json:"create_time" orm:"createTime" sql:"DATETIME"`
	UpdateTime *time.Time `json:"update_time" orm:"updateTime" sql:"DATETIME"`
}
